/**
 * @author qixb.fnst
 */
$("a[for]").click(function() {
	var that = $(this);
	$("input[ori]").each(function() {
		$(this).attr("readonly", "true");
		$(this).removeAttr("autofocus");
	});
	var name = that.attr("for");
	$("#"+name).removeAttr("readonly");
	$("#"+name).attr("autofocus", "true");
});